package com.alignet.gn.hibernate;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
import javax.persistence.Transient;

/**
 * AbstractTgnAction entity provides the base persistence definition of the
 * TgnAction entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractTgnRequerimiento implements java.io.Serializable {

	private static final long serialVersionUID = -461278034902121322L;
	private Integer inIdrequerimiento;
	private Integer inIdsolicitud;
	private Integer idIdsubproducto;
    private String vcType;
    private String vcState;
    private String vcDescription;
    private String vcObservation;
    private Timestamp dtRegistry;
    private String vcNamesubproducto;
    // Constructors

    /** default constructor */
    public AbstractTgnRequerimiento() {
    }

    @Id
    @GeneratedValue
    @Column(name = "IN_IDREQUERIMIENTO", unique = true, nullable = false)
    public Integer getInIdrequerimiento() {
		return inIdrequerimiento;
	}

	public void setInIdrequerimiento(Integer inIdrequerimiento) {
		this.inIdrequerimiento = inIdrequerimiento;
	}

	@Column(name = "IN_IDSOLICITUD", nullable = false, length = 26)
	public Integer getInIdsolicitud() {
		return inIdsolicitud;
	}

	public void setInIdsolicitud(Integer inIdsolicitud) {
		this.inIdsolicitud = inIdsolicitud;
	}

	@Column(name = "VC_TIPO", nullable = false, length = 26)
	public String getVcType() {
		return vcType;
	}

	public void setVcType(String vcType) {
		this.vcType = vcType;
	}

	@Column(name = "VC_ESTADO", nullable = false, length = 26)
	public String getVcState() {
		return vcState;
	}

	public void setVcState(String vcState) {
		this.vcState = vcState;
	}

	@Column(name = "DT_REGISTRO", nullable = false, length = 26)
	public Timestamp getDtRegistry() {
		return dtRegistry;
	}

	public void setDtRegistry(Timestamp dtRegistry) {
		this.dtRegistry = dtRegistry;
	}
	
	@Column(name = "IN_IDSUBPRODUCTO", length = 30)
	public Integer getIdIdsubproducto() {
		return idIdsubproducto;
	}

	public void setIdIdsubproducto(Integer idIdsubproducto) {
		this.idIdsubproducto = idIdsubproducto;
	}

	@Column(name = "VC_DESCRIPCION", length = 50)
	public String getVcDescription() {
		return vcDescription;
	}

	public void setVcDescription(String vcDescription) {
		this.vcDescription = vcDescription;
	}

	@Column(name = "VC_OBSERVACION", length = 50)
	public String getVcObservation() {
		return vcObservation;
	}

	public void setVcObservation(String vcObservation) {
		this.vcObservation = vcObservation;
	}
	

	@Transient
	public String getVcNamesubproducto() {
		return vcNamesubproducto;
	}

	public void setVcNamesubproducto(String vcNamesubproducto) {
		this.vcNamesubproducto = vcNamesubproducto;
	}

    
	
}